#{extends 'head.html' /}
#{ set title:'蓝莲花 | 会员注册'/}

			<style type="text/css">
					body,a {
						color: #484848;
						font: 100 12px/ 22px "微软雅黑";
						text-decoration: none;
					}
					
					.member_left {
						border: 1px solid #999;
						width: 200px;
						float: left;
					}
					
					.LeftNav h3 {
						border-bottom: 1px dotted #C1BC91;
						color: #7A6937;
						font-size: 14px;
						font-weight: bold;
						height: 30px;
						line-height: 30px;
						margin: 0 auto;
						width: 152px;
					}
					
					.LeftNav ol {
						margin: 0 auto;
						position: relative;
						width: 152px;
						z-index: 1011;
					}
					
					ul,ol,li {
						list-style: none outside none;
					}
					
					.LeftNav ol li {
						line-height: 25px;
						text-indent: 10px;
					}
					
					.LeftNav ol a {
						color: #7A6937;
					}
					
					.LeftNav ol a:hover {
						color: #3CF;
					}
					
					a:link {
						color: #333333;
						text-decoration: none;
					}
					
					.LeftAscxTop {
						background: url("/public/images/jieyueka_32.jpg") repeat-x scroll 0 0
							transparent;
						height: 91px;
						padding-left: 10px;
						position: relative;
						width: 178px;
					}
					
					.LeftAscxTop img.LeftAscxTopImgLeft {
						float: left;
						margin-right: 10px;
						margin-top: 7px;
					}
					
					.LeftAscxTop div.LeftAscxTopImgBottom {
						left: 40px;
						position: absolute;
						top: 75px;
					}
					
					.LeftNav ol li.HuanDengLi {
						background: none repeat scroll 0 0 transparent;
						cursor: pointer;
						left: 55px;
						position: absolute;
						top: 70px;
					}
					
					.LeftNav ol li.ReadDengLi {
						background: none repeat scroll 0 0 transparent;
						left: 75px;
						position: absolute;
						top: 45px;
					}
					
					.memberRight {
						float: right;
						position: relative;
						width: 770px;
					}
					
					.memberTopBg {
						background-image: url("/public/images/jieyueka_28.jpg");
						height: 54px;
						padding-left: 140px;
						padding-top: 50px;
						width: 566px;
					}
					
					.memberConten {
						margin-bottom: 10px;
						margin-top: 20px;
						position: relative;
						width: 710px;
					}
					
					.memberTopBg span {
						color: #7A6937;
						font-size: 16px;
						font-weight: bold;
						text-decoration: none;
					}
					
					.member_right {
						float: right;
						right: -30px;
						width: 700px;
					}
					
					#DivUserLike {
						border: 1px solid #CCCCCC;
						height: 262px;
						margin-left: 10px;
						width: 695px;
					}
					
					.memberConten {
						margin-bottom: 10px;
						margin-top: 20px;
						position: relative;
						width: 710px;
					}
					
					#UserInfo dl {
						width: 710px;
					}
					
					#UserInfo dl dt {
						border-bottom: 1px solid #ECDEB6;
						color: #6A5C35;
						font-size: 12px;
						height: 40px;
						line-height: 40px;
						width: 710px;
					}
					
					#UserInfo dl dt samp {
						float: left;
						font-weight: bold;
						text-indent: 10px;
					}
					
					#UserInfo dl dt span {
						float: right;
						width: 350px;
					}
					
					#UserInfo dl dd {
						border-bottom: 1px solid #ECDEB6;
						margin: 0;
						padding: 10px 0;
						width: 710px;
					}
					
					#UserInfo dl dd table {
						margin-left: 10px;
						width: 520px;
					}
					
					#UserInfo dl dd table tr td {
						font-size: 12px;
						height: 20px;
						line-height: 20px;
						width: 260px;
					}
					
					#UserInfo dl dd table tr td #spanCardId,#spanPurview,#spanMyLink {
						color: #B38E0D;
						font-weight: bold;
					}
					
					#UserInfo dl dd table tr td #spanFruit,#spanDeposite {
						color: Red;
					}
					
					#DivUserLike h2 {
						color: Black;
						font: bold 12px/ 55px Arial, Helvetica, sans-serif;
						height: 55px;
						text-indent: 10px;
					}
					
					#DivUserLike dl {
						height: 200px;
						margin: 0 auto;
						width: 690px;
					}
					
					#DivUserLike dd {
						border-right: 1px dashed #CCCCCC;
						float: left;
						height: 200px;
						margin: 0;
						padding-left: 8px;
						padding-right: 4px;
						width: 216px;
					}
					
					#DivUserLike dd a img {
						border: 1px solid #CCCCCC;
						float: left;
						height: 116px;
						padding: 2px;
						width: 86px;
					}
					
					#DivUserLike dd p span a {
						color: #FF6600;
					}
					
					#DivUserLike dd p {
						float: right;
						height: 120px;
						line-height: 20px;
						width: 115px;
					}
					
					#DivUserLike dd p span {
						float: right;
						overflow: hidden;
						width: 115px;
					}
					
					dl {
						list-style: none outside none;
					}
					
					#memberSearchDiv {
						clear: both;
						margin: 20px 0;
						position: relative;
						width: 710px;
						z-index: 1010;
					}
					
					#memberSearchDiv table {
						clear: both;
						width: 710px;
					}
					
					#memberSearchDiv table thead tr th {
						background-color: #FBF7EB;
						border: 1px solid #E7D49E;
						color: #6A5C35;
						font-size: 12px;
						font-weight: bold;
						height: 30px;
						text-align: left;
						text-indent: 10px;
					}
					
					#memberSearchDiv table tbody tr td {
						border-bottom: 1px solid #E7D49E;
						border-left: 1px solid #E7D49E;
						border-right: 1px solid #E7D49E;
						color: #6A5C35;
						font-size: 12px;
						height: 30px;
						overflow: hidden;
						padding-left: 10px;
						vertical-align: middle;
						width: 700px;
					}
					
					#memberSearchDiv table tbody tr td div {
						position: relative;
					}
					
					#memberSearchDiv table tbody tr td input.txtStyle {
						height: 20px;
						margin-right: 10px;
						width: 150px;
					}
					
					.btmSubmit {
						background: url("/public/images/BgImgButton.jpg") no-repeat scroll 0 0
							transparent;
						color: #FFFFFF;
						cursor: pointer;
						font: bold 12px/ 24px arial;
						height: 24px;
						text-align: center;
						width: 63px;
					}
					
					.memberConten {
						margin-bottom: 10px;
						margin-top: 20px;
						position: relative;
						width: 710px;
					}
					
					.memberConten table.ShowInfo,.memberConten table.InputInfo {
						border-collapse: collapse;
						width: 710px;
					}
					
					.memberConten table.ShowInfo,.memberConten table.InputInfo {
						border-collapse: collapse;
					}
					
					.memberConten table.ShowInfo,.memberConten table.InputInfo {
						border-collapse: collapse;
					}
					
					.ShowInfo thead tr th {
						background-color: #FBF7EB;
						border: 1px solid #E7D49E;
						color: #6A5C35;
						font-size: 12px;
						font-weight: bold;
						height: 27px;
						line-height: 27px;
						text-align: center;
					}
					
					.MemberPages {
						margin-bottom: 20px;
						width: 710px;
					}
					
					.memberConten table tbody tr td {
						border: 1px solid #E7D49E;
						color: #6A5C35;
						font-size: 12px;
						height: 30px;
						overflow: hidden;
						padding-left: 10px;
						vertical-align: middle;
						width: 700px;
					}
					
					.del:HOVER {
						color: #8CADD4;
					}
					
					.STYLE6 {
						color: #7A6937;
						font-size: 16px;
						text-decoration: none;
					}
					
					.Tborder3 {
						border: 1px solid #E7D49E;
						text-decoration: none;
					}
					
					.STYLE7 {
						color: #6A5C35;
						font-size: 12px;
						text-decoration: none;
					}
					
					.Tborder8 {
						border-bottom: 1px solid #E4E4E4;
						border-left: 1px solid #E7D49E;
						border-right: 1px solid #E4E4E4;
						text-decoration: none;
					}
					
					.Tborder7 {
						border-bottom: 1px solid #E4E4E4;
						border-right: 1px solid #E4E4E4;
						text-decoration: none;
					}
					
					.onShow {
						background: url("../Images/Common/onShow.gif") no-repeat scroll 0 0
							transparent;
						font-size: 12px;
						line-height: 22px;
						padding-left: 25px;区
						vertical-align: middle;
					}
		</style>
<link rel="stylesheet" href="/public/indexFile/css/check.css" type="text/css" />
<link rel="stylesheet" href="/public/stylesheets/alert.css" type="text/css" />
<script type="text/javascript" src="/public/indexFile/js/check.js"></script>
<script type="text/javascript" src="/public/javascripts/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="/public/javascripts/adu.alert.js"></script>


	<body>
		<div style="width: 980px; margin: 10px auto;">
			<div class="member_left">
				<div class="LeftAscxTop">
					<img class="LeftAscxTopImgLeft"
						src="/public/images/jieyueka_35.jpg">
					<dl>
						<dt id="UserLeftControl2_dtUserName">
							${meb.memnum }
						</dt>
						<dd id="UserLeftControl2_dtUserLevel">
							身份:${memtype.metname}
						</dd>
						<dd>
							卡号:
							<span id="UserLeftControl2_spanCardId">${meb.lecnum}</span>
						</dd>
					</dl>
					<div class="LeftAscxTopImgBottom">
						<a href="/BookHome/Index.aspx?CardId=000713753"> <img
								src="/images/jieyueka_03.jpg"> </a>
					</div>
				</div>
				<div class="LeftNav">
					<h3>
						.会员记录
					</h3>
					<ol>
						<li><a href="/updatemsg.html">修改会员资料</a></li>
				        <li><a href="/updatepass.html">修改密码</a></li>
					</ol>
					<h3>
						.会员订单
					</h3>
					<ol>
						<li><a href="">我的借阅卡</a></li>
				        <li><a href="/imporder.html">我的预借</a></li>
				        <li><a href="/disorder.html">我的订单</a></li>
				        <li><a href="/myborrow.html">我的借阅</a></li>
				         <li><a href="">提醒</a></li>
						<li style="margin-left: 40px;" class="HuanDengLi">
							<img title="点我看看" class="readLibtnDg" id="huanLibtnDeng"
								src="/images/deng/deng3.jpg">
						</li>
						<li id="HuanLiDengInfoNote" style="display: none;">
							<img id="HuanLiDengPic" src="/images/deng/13.jpg">
							<img id="btnHuanLiDengCloses" src="/images/deng/dengclose.jpg">
						</li>
					</ol>
					<h3>
						.会员账户
					</h3>
					<ol>
						<li><a href="/paymoney.html">在线充值</a></li>
				        <li><a href="/recharge.html">充值记录</a></li>
				        <li><a href="/consume.html">账户消费记录</a></li>
					</ol>
					<h3>
						.会员反馈
					</h3>
					<ol>
						<li><a href="/Frontlist.html">我的反馈</a></li>
				        <li><a href="">我的收藏架</a></li>
				        <li><a href="/trss.html">点书台</a></li>
					</ol>
				</div>
				<div class="LeftAscxBottom">
				</div>
			</div>
			<div class="member_right">
				<div style="" class="memberRight">
					<table align="left" width="706" cellspacing="0" cellpadding="0"
						border="0">
						<tbody>
							<tr>
								<td align="left" valign="top" height="104"
									style="background: url(/public/images/jieyueka_28.jpg) no-repeat; padding-left: 140px; padding-top: 50px">
									<span style="font-weight: bold" class="STYLE6">会员管理</span>
								</td>
							</tr>
							<tr>

								<td valign="top">
									<table align="center" width="702" cellspacing="0"
										cellpadding="0" border="0">
										<tbody>
											<tr>
												<td valign="middle" height="29" bgcolor="FBF7EB"
													class="Tborder3" colspan="3">
													<span style="font-weight: bold; padding-left: 10px"
														class="STYLE7">我的基本资料 <font color="red">(温馨提示:完善个人资料才能享有其他功能)</font>
													</span>
												</td>
											</tr>


											<tr>
												<td align="left" width="15%" valign="middle" height="30"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder8">
													真实姓名：
												</td>
												<td align="left" colspan="2" width="43%" valign="middle"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder7">
													<input type="text" id="txtRealname" value="${meb.memname}"
														name="txtRealname">
												</td>
											</tr>
											<tr>
												<td align="left" width="15%" valign="middle" height="30"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder8">
													邮编：
												</td>
												<td align="left" width="43%" colspan="2" valign="middle"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder7">
													<input type="text" id="txtcord" value="${meb.mempoca}"
														name="txtcord">
												</td>
											</tr>
											<tr>
												<td align="left" width="15%" valign="middle" height="30"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder8">
													座机号码：
												</td>
												<td align="left" width="43%" colspan="2" valign="middle"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder7">
													<input type="text" id="txtTel" value="${meb.mempho}"
														name="txtTel">
												</td>
											</tr>
											<tr>
												<td align="left" width="15%" valign="middle" height="30"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder8">
													手机号码：
												</td>
												<td align="left" width="43%" colspan="2" valign="middle"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder7">
													<input type="text" id="txtMobTel" value="${meb.memtel}"
														name="txtMobTel">
												</td>
											</tr>
											<tr style="display: none">
												<td align="left" width="15%" valign="middle" height="30"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder8">
													工号：
												</td>
												<td align="left" width="43%" valign="middle"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder7">
													<input type="text" id="txtEmployeeCard"
														name="txtEmployeeCard">
												</td>
												<td align="left" width="42%" valign="middle"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder7">
													<div id="regEmployeeCard"></div>
												</td>
											</tr>

											<tr style="display: none" id="BusinessAddress">
												<td align="left" width="15%" valign="middle" nowrap="nowrap"
													height="30" style="padding-left: 8px" class="Tborder8">
													选择地址：
												</td>
												<td align="left" width="43%" valign="middle"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder7">
													<select id="BusinessDdl" name="BusinessDdl">

													</select>
												</td>
												<td align="left" width="42%" valign="middle"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder7">
													<div></div>
												</td>
											</tr>

											<tr>
												<td align="left" width="15%" valign="middle" height="30"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder8">
													收货地址1：
												</td>
												<td align="left" width="43%" colspan="2" valign="middle"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder7">
													<input type="text" style="width: 265px;" id="txtAddress"
														value="${meb.memaddr}" name="txtAddress">
												</td>
											</tr>
											
											<tr>
												<td align="left" width="15%" valign="middle" height="30"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder8">
													收货地址2：
												</td>
												<td align="left" width="43%" colspan="2" valign="middle"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder7">
													<input type="text" style="width: 265px;" id="txtAddress2"
														value="${meb.memaddr2}" name="txtAddress2">
												</td>
											</tr>
											
											<tr>
												<td align="left" width="15%" valign="middle" height="30"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder8">
													收货地址3：
												</td>
												<td align="left" width="43%" colspan="2" valign="middle"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder7">
													<input type="text" style="width: 265px;" id="txtAddress3"
														value="${meb.memaddr3}" name="txtAddress3">
												</td>
											</tr>
											
											<tr>
												<td align="left" width="15%" valign="middle" height="30"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder8">
													收货地址4：
												</td>
												<td align="left" width="43%" colspan="2" valign="middle"
													style="padding-left: 8px; font-size: 12px;"
													class="Tborder7">
													<input type="text" style="width: 265px;" id="txtAddress4"
														value="${meb.memaddr4}" name="txtAddress4">
												</td>
											</tr>

											<tr>
												<td style="padding-top: 15px; padding-left: 100px"
													class="Tborder4" colspan="3">
													<input type="button" class="btmSubmit" id="btnSub" value="完 成" name="btnSub">
												</td>
											</tr>
										</tbody>
									</table>
								</td>

							</tr>
						</tbody>
					</table>
				</div>
				<div style="both: clear;"></div>
			</div>
			</div>
<script type="text/javascript">
	$("#btnSub").click(function(){
		$.ajax({
			type:'post',
			url :'/controllers/MemberView.upmsgsave',
			data:({"memname":$("#txtRealname").val(),"mempoca":$("#txtcord").val(),"mempho":$("#txtTel").val(),"memtel":$("#txtMobTel").val(),"memaddr":$("#txtAddress").val(),"memaddr2":$("#txtAddress2").val(),"memaddr3":$("#txtAddress3").val(),"memaddr4":$("#txtAddress4").val()}),
			success:function(e){
				if(e == "0"){
					aduAlert("修改个人资料失败！","提示");
				}
				if(e == "1"){
					aduAlert("修改个人资料成功！","提示",function(){
						window.location.href = "/updatemsg.html";
					});					
				}
			}
		});
	});
</script>
	</body>
</html>
